<?php
/**
 * Created by PhpStorm.
 * User: zlkmu
 * Date: 2018/1/28
 * Time: 22:16
 */

class ProtocolAPI{

    //////////////////////公用请求//////////////////////////////////
    public static $LOGIN_REQUEST = 0x100001;//登录请求
    public static $LOGIN_RESPONSE = 0x100002;//登陆响应

    public static $VERSION_CHECK_REQUEST = 0x100003;//版本检测请求
    public static $VERSION_CHECK_RESPONSE = 0x100004;//版本检测响应

    public static $CHECK_ONLINE_REQUEST = 0x100005;//检测断网请求
    public static $CHECK_ONLINE_RESPONSE = 0x100006;//检测断网响应

    public static $SHARE_REQUEST = 0x100007;//分享请求
    public static $SHARE_RESPONSE = 0x100008;//分享响应

    public static $GET_NOTICE_REQUEST = 0x10000D;//请求获取游戏大厅通知消息
    public static $GET_NOTICE_RESPONSE = 0x10000E;//获取到游戏大厅通知消息响应

    public static $DIAMOND_PAIHANG_REQUEST = 0x10000F;//获取钻石持有排行榜请求
    public static $DIAMOND_PAIHANG_RESPONSE = 0x100010;//获取钻石持有排行榜响应

    public static $DIAMOND_TO_CARDS_REQUEST = 0x100011;//钻石换房卡请求
    public static $DIAMOND_TO_CARDS_RESPONSE = 0x100012;//钻石换房卡响应

    public static $BOLT_CONNECT_REQUEST = 0x100013;//断线重连请求
    public static $BOLT_CONNECT_RESPONSE = 0x100014;//断线重连响应

    public static $REAL_NAME_CERTIFY_REQUEST = 0x100015; //实名认证请求
    public static $REAL_NAME_CERTIFY_RESPONSE = 0x100016; //实名认证返回

    public static $BIND_INVITOR_REQUEST = 0x100017;  //绑定邀请码（推广号）请求
    public static $BIND_INVITOR_RESPONSE = 0x100018;  //绑定邀请码(推广号)响应

    public static $USER_LOGOUT_REQUEST = 0x100019;  //用户切换账号请求
    public static $USER_LOGOUT_RESPONSE = 0x10001A; //用户切换账号响应（保留，不使用)

    public static $REFRESH_DIAMOND_CARD_REQUEST = 0x100020; //刷新钻石和房卡的请求
    public static $REFRESH_DIAMOND_CARD_RESPONSE = 0x100021; //刷新钻石和房卡的响应

    public static $VISITORS_LOGIN_REQUEST = 0x100022; //游客登录请求(保留)
    public static $VISITORS_LOGIN_RESPONSE = 0x100023; //游客登录响应（保留）

    public static $CREATE_ROOM_REQUEST = 0x200001;//创建房间请求
    public static $CREATE_ROOM_RESPONSE = 0x200002;//创建房间响应

    public static $PENGPAI_REQUEST = 0x300001;  //测试用碰牌请求
    public static $PENGPAI_RESPONSE = 0x300002;  //测试用碰牌响应

    public static $LICENSING_RESPONSE=0x010017;//测试用牛牛发牌响应

    public static $SEND_AUDIO_REQUEST = 0x010018;

    public static $ERROR_RESPONSE = 0x400001;

}